Skip to content

feat(runner): usage-limit detection (TM-977 B1) - #932

Merged
acrossoffwest merged 1 commit into
masterfrom
feat/tm-977-runner-switch
Nov 16, 2026
Merged

acrossoffwest merged 1 commit into
masterfrom
feat/tm-977-runner-switch

Conversation

@acrossoffwest

Copy link
Copy Markdown
Collaborator

First part of TM-977 stage B.

  • The runner daemon reads the live screen of claude-code and codex sessions for each CLI's own usage-limit message (anchored at the line start, so prose that quotes it does not match).
  • A hit counts after the message has stayed on screen 3 s, or at once when the agent exits with a failure while it is on screen. The hit is stored in the session meta and shown as limit {line, at_ms} in SessionInfo.
  • Detection only. Nothing is started or stopped by it; the switch comes in the next PRs.
  • IPC: new optional field, golden fixture session_info_limit.

@acrossoffwest
acrossoffwest merged commit fb272c0 into master Nov 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant